#pragma once

#include <windows.h>

#include <game.h>

HMODULE ace_load_shell_module();
HMODULE ace_load_runtime_module(const wchar_t *path, const char *symbol, void *target);

void *ace_unpack_shell_data(const char *section_name, HMODULE base_module, size_t *out_size);
void *ace_unpack_exe_data(size_t *out_size);

void ace_unpack_sections();
